package com.judian.smart.holder;

import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import com.judian.smart.R;

/**
 * author: Peter
 * date: 2019/08/05 星期一 18:12
 * desc:
 */
public class DeviceViewHolder extends RecyclerView.ViewHolder {
    public RelativeLayout deviceLayout;
    public TextView deviceName;
    public ImageView deviceImage;

    public DeviceViewHolder(@NonNull View itemView) {
        super(itemView);
        deviceLayout = itemView.findViewById(R.id.deviceLayout);
        deviceName = itemView.findViewById(R.id.deviceName);
        deviceImage = itemView.findViewById(R.id.deviceImage);
    }

}
